package com.ht.common.core.domain;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
 * 单点登录请求参数
 * @author Administrator
 */
public class SysSsoUserDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 43990L;
	@NotBlank(message="token不能为空")
	private String token;
	@NotBlank(message="appId不能为空")
	private String appId;
	@NotNull(message="时间戳不能为空")
	private Long timespan;
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public Long getTimespan() {
		return timespan;
	}
	public void setTimespan(Long timespan) {
		this.timespan = timespan;
	}
	@Override
	public String toString() {
		return "SysSsoUserDto [token=" + token + ", appId=" + appId + ", timespan=" + timespan + "]";
	}
	
}
